package com.example.dbmysql.service;


//import com.example.dbmysql.pojo.RoomType;

import com.example.dbmysql.pojo.Buildings;
import com.example.dbmysql.pojo.RoomType;
import com.github.pagehelper.PageInfo;

public interface RoomTypeService {


    void add(RoomType roomType);

    RoomType findByTypeName(String typeName);


    PageInfo<RoomType> selectAll(int page, int pageSize);

    RoomType updateById(RoomType roomType);

    RoomType geRoomTypeById(Integer id);



    void delRoomTypeById(Integer id);
}
